# -*- coding: utf-8 -*-
# @Time    : 2024/8/30 下午11:58
# @Author  : wb
# @Email   : wb@163.com
# @File    : wb_base_page
# @Software: PyCharm

from config.wb_login_config import HOST
class BasePage():
    """实例化"""
    def __init__(self, driver):
        self.driver = driver
        self.url = "http://{}{}".format(HOST, self.url)
    """打开浏览器"""
    def open(self):
        self.driver.get(self.url)
